import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
    {
        path: '/',
        name: 'home',
        component: HomeView
    },
    {
        path: '/about', component: () => import('../views/AboutView.vue')
    },
    {path: '/a', component: () => import('../views/AView.vue')},
    {path: '/b', component: () => import('../views/BVue.vue')},
    {path: '/c', component: () => import('../views/CVue.vue')},
    {path: '/d', component: () => import('../views/DVue.vue')},
    {path: '/e', component: () => import('../views/EVue.vue')},
    {path: '/f', component: () => import('../views/FVue.vue')},
    {path: '/g', component: () => import('../views/GVue.vue')},
    {path: '/h', component: () => import('../views/HVue.vue')},
    {path: '/i', component: () => import('../views/IVue.vue')},
    {path: '/j', component: () => import('../views/JVue.vue')},
    {path: '/k', component: () => import('../views/KVue.vue')},
    {path: '/l', component: () => import('../views/LVue.vue')},
    {path: '/m', component: () => import('../views/MVue.vue')},
    {path: '/n', component: () => import('../views/NVue.vue')},
    {path: '/o', component: () => import('../views/OVue.vue')},
    {path: '/p', component: () => import('../views/PVue.vue')},
    {path: '/q', component: () => import('../views/QVue.vue')},
    {path: '/r', component: () => import('../views/RVue.vue')},
    {path: '/s', component: () => import('../views/SVue.vue')},
    {path: '/t', component: () => import('../views/TVue.vue')},
    {path: '/u', component: () => import('../views/UVue.vue')},
    {path: '/v', component: () => import('../views/VVue.vue')},
    {path: '/w', component: () => import('../views/WVue.vue')},
    {path: '/x', component: () => import('../views/XVue.vue')},
    {path: '/y', component: () => import('../views/YVue.vue')},
    {path: '/z', component: () => import('../views/ZVue.vue')},
]

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes
})

export default router
